home *** CD-ROM | disk | FTP | other *** search
Visual Basic class definition | 1997-09-08 | 1.3 KB | 50 lines |
- VERSION 1.0 CLASS
- BEGIN
- MultiUse = -1 'True
- END
- Attribute VB_Name = "Field"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = True
- Attribute VB_PredeclaredId = False
- Attribute VB_Exposed = False
- Attribute VB_Ext_KEY = "SavedWithClassBuilder" ,"Yes"
- Attribute VB_Ext_KEY = "Top_Level" ,"No"
- Option Explicit
-
- Public Key As String
-
- 'local variable(s) to hold property value(s)
- Private mvarName As String 'local copy
- 'local variable(s) to hold property value(s)
- Private mvarTableName As String 'local copy
- Public Property Let TableName(ByVal vData As String)
- 'used when assigning a value to the property, on the left side of an assignment.
- 'Syntax: X.TableName = 5
- mvarTableName = vData
- End Property
-
-
- Public Property Get TableName() As String
- 'used when retrieving value of a property, on the right side of an assignment.
- 'Syntax: Debug.Print X.TableName
- TableName = mvarTableName
- End Property
-
-
-
- Public Property Let Name(ByVal vData As String)
- 'used when assigning a value to the property, on the left side of an assignment.
- 'Syntax: X.Name = 5
- mvarName = vData
- End Property
-
-
- Public Property Get Name() As String
- 'used when retrieving value of a property, on the right side of an assignment.
- 'Syntax: Debug.Print X.Name
- Name = mvarName
- End Property
-
-
-
-